import { Http } from '@/common/api'
// 列表
export const listUrl = '/srm/contract/supplier/page'

// 获取合同 详情
export const apiGetContractDetail = async (id) => Http.get(`/srm/contract/supplier/findById//${id}`)
// 邮寄合同
export const apiMailContract = async (params) => Http.post('/srm/contract/mail', params)
// 退回合同
export const apiReject = async (id) => Http.get(`/srm/contract/reject?id=${id}`)
// 确认
export const apiConfirm = async (id) => Http.get(`/srm/contract/confirm?id=${id}`)
// 确认收到合同
export const apiComplete = async (id) => Http.get(`/srm/contract/complete?id=${id}`)
